<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="../lib/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" type="text/css" href="../css/public.css"/>
</head>
<body class="loginBody">
<form class="layui-form" id="input-form">
    <div class="login_face"><img src="../images/face.jpg" class="userAvatar"></div>
    <div class="layui-form-item input-item">
        <label for="username">用户名</label>
        <input type="text" placeholder="请输入用户名" autocomplete="off" name="username" id="username" class="layui-input"
               lay-verify="required">
    </div>
    <div class="layui-form-item input-item">
        <label for="password">密码</label>
        <input type="password" placeholder="请输入密码" autocomplete="off" name="password" id="password" class="layui-input"
               lay-verify="required">
    </div>
    <div class="layui-form-item input-item" id="imgCode">
        <label for="captcha">验证码</label>
        <input type="text" placeholder="请输入验证码" autocomplete="off" name="captcha" id="captcha" class="layui-input"
               lay-verify="required">
        <img id="captchaImg" onclick="refreshCode()">
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-block" lay-filter="login" lay-submit>登录</button>
    </div>
</form>

<script type="text/javascript" src="../lib/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../lib/layui/layui.all.js"></script>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="../lib/jsencrypt.min.js"></script>
<script type="text/javascript" src="login.js"></script>
</body>
</html>